package com.ruoyi.releation.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户和角色关联 sys_user_role
 * 
 * @author ruoyi
 */
public class Releation extends BaseEntity
{
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    private Long id;
    private Long fromId;
    private String fromName;
    private Long toId;
    private String toName;
    private String releationName;
    private String releationDesc;
    
    

    public Long getId() {
        return id;
    }



    public void setId(Long id) {
        this.id = id;
    }



    public Long getFromId() {
        return fromId;
    }



    public void setFromId(Long fromId) {
        this.fromId = fromId;
    }



    public String getFromName() {
        return fromName;
    }



    public void setFromName(String fromName) {
        this.fromName = fromName;
    }



    public Long getToId() {
        return toId;
    }



    public void setToId(Long toId) {
        this.toId = toId;
    }



    public String getToName() {
        return toName;
    }



    public void setToName(String toName) {
        this.toName = toName;
    }



    public String getReleationName() {
        return releationName;
    }



    public void setReleationName(String releationName) {
        this.releationName = releationName;
    }



    public String getReleationDesc() {
        return releationDesc;
    }



    public void setReleationDesc(String releationDesc) {
        this.releationDesc = releationDesc;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fromId", getFromId())
            .append("fromName", getFromName())
            .append("toId", getToId())
            .append("toName", getToName())
            .toString();
    }
}
